Message box

Alert box

The following step definition are available to interact with an alert box:

an alert box appears

an alert box with the text "(.*)" appears

an alert box with the text containing "(.*)" appears

an alert box appears with the title "(.*)"

the user clicks the "(.*)" option in the alert box

a dialog box appears

an alert box does not appear

the user dismisses the alert box

Examples

Confirmation dialog

The following step definition are available to interact with a confirmation dialog:

the user clicks the "(.*)" option in the alert box

an alert box with the text containing "(.*)" and the stored text value appears

a confirmation dialog appears with the message "(.*)"

a confirmation dialog appears containing the message "(.*)"

the user clicks "(.*)" button on the confirmation dialog

Examples